↳ ITRS
↳ ITRStoIDPProof
z
min(x, ins(y, zs)) → if_1(min(y, zs), x, y, zs)
msort(e) → nil
min(x, ins(y, zs)) → if_2(min(y, zs), x, y, zs)
if_1(pair(m, zh), x, y, zs) → Cond_if_1(>@z(m, x), m, zh, x, y, zs)
Cond_if_1(TRUE, m, zh, x, y, zs) → pair(x, ins(m, zh))
msort(ins(x, ys)) → if_3(min(x, ys), x, ys)
if_3(pair(m, zs), x, ys) → cons(m, msort(zs))
min(x, e) → pair(x, e)
Cond_if_2(TRUE, m, zh, x, y, zs) → pair(m, ins(x, zh))
if_2(pair(m, zh), x, y, zs) → Cond_if_2(>=@z(x, m), m, zh, x, y, zs)
min(x0, ins(x1, x2))
msort(e)
if_1(pair(x0, x1), x2, x3, x4)
Cond_if_1(TRUE, x0, x1, x2, x3, x4)
msort(ins(x0, x1))
if_3(pair(x0, x1), x2, x3)
min(x0, e)
Cond_if_2(TRUE, x0, x1, x2, x3, x4)
if_2(pair(x0, x1), x2, x3, x4)
↳ ITRS
↳ ITRStoIDPProof
↳ IDP
↳ UsableRulesProof
z
min(x, ins(y, zs)) → if_1(min(y, zs), x, y, zs)
msort(e) → nil
min(x, ins(y, zs)) → if_2(min(y, zs), x, y, zs)
if_1(pair(m, zh), x, y, zs) → Cond_if_1(>@z(m, x), m, zh, x, y, zs)
Cond_if_1(TRUE, m, zh, x, y, zs) → pair(x, ins(m, zh))
msort(ins(x, ys)) → if_3(min(x, ys), x, ys)
if_3(pair(m, zs), x, ys) → cons(m, msort(zs))
min(x, e) → pair(x, e)
Cond_if_2(TRUE, m, zh, x, y, zs) → pair(m, ins(x, zh))
if_2(pair(m, zh), x, y, zs) → Cond_if_2(>=@z(x, m), m, zh, x, y, zs)
(2) -> (3), if ((x[2] →* x[3])∧(ys[2] →* ys[3])∧(min(x[2], ys[2]) →* pair(m[3], zs[3])))
(3) -> (2), if ((zs[3] →* ins(x[2], ys[2])))
(3) -> (5), if ((zs[3] →* ins(x[5], ys[5])))
(4) -> (0), if ((zs[4] →* zs[0])∧(x[4] →* x[0])∧(y[4] →* y[0])∧(min(y[4], zs[4]) →* pair(m[0], zh[0])))
(5) -> (4), if ((ys[5] →* ins(y[4], zs[4]))∧(x[5] →* x[4]))
(5) -> (6), if ((ys[5] →* ins(y[6], zs[6]))∧(x[5] →* x[6]))
(5) -> (7), if ((ys[5] →* ins(y[7], zs[7]))∧(x[5] →* x[7]))
(6) -> (1), if ((zs[6] →* zs[1])∧(x[6] →* x[1])∧(y[6] →* y[1])∧(min(y[6], zs[6]) →* pair(m[1], zh[1])))
(7) -> (4), if ((zs[7] →* ins(y[4], zs[4]))∧(y[7] →* x[4]))
(7) -> (6), if ((zs[7] →* ins(y[6], zs[6]))∧(y[7] →* x[6]))
(7) -> (7), if ((zs[7] →* ins(y[7]a, zs[7]a))∧(y[7] →* x[7]a))
min(x0, ins(x1, x2))
msort(e)
if_1(pair(x0, x1), x2, x3, x4)
Cond_if_1(TRUE, x0, x1, x2, x3, x4)
msort(ins(x0, x1))
if_3(pair(x0, x1), x2, x3)
min(x0, e)
Cond_if_2(TRUE, x0, x1, x2, x3, x4)
if_2(pair(x0, x1), x2, x3, x4)
↳ ITRS
↳ ITRStoIDPProof
↳ IDP
↳ UsableRulesProof
↳ IDP
↳ IDependencyGraphProof
z
min(x, ins(y, zs)) → if_1(min(y, zs), x, y, zs)
min(x, ins(y, zs)) → if_2(min(y, zs), x, y, zs)
if_1(pair(m, zh), x, y, zs) → Cond_if_1(>@z(m, x), m, zh, x, y, zs)
Cond_if_1(TRUE, m, zh, x, y, zs) → pair(x, ins(m, zh))
min(x, e) → pair(x, e)
Cond_if_2(TRUE, m, zh, x, y, zs) → pair(m, ins(x, zh))
if_2(pair(m, zh), x, y, zs) → Cond_if_2(>=@z(x, m), m, zh, x, y, zs)
(2) -> (3), if ((x[2] →* x[3])∧(ys[2] →* ys[3])∧(min(x[2], ys[2]) →* pair(m[3], zs[3])))
(3) -> (2), if ((zs[3] →* ins(x[2], ys[2])))
(3) -> (5), if ((zs[3] →* ins(x[5], ys[5])))
(4) -> (0), if ((zs[4] →* zs[0])∧(x[4] →* x[0])∧(y[4] →* y[0])∧(min(y[4], zs[4]) →* pair(m[0], zh[0])))
(5) -> (4), if ((ys[5] →* ins(y[4], zs[4]))∧(x[5] →* x[4]))
(5) -> (6), if ((ys[5] →* ins(y[6], zs[6]))∧(x[5] →* x[6]))
(5) -> (7), if ((ys[5] →* ins(y[7], zs[7]))∧(x[5] →* x[7]))
(6) -> (1), if ((zs[6] →* zs[1])∧(x[6] →* x[1])∧(y[6] →* y[1])∧(min(y[6], zs[6]) →* pair(m[1], zh[1])))
(7) -> (4), if ((zs[7] →* ins(y[4], zs[4]))∧(y[7] →* x[4]))
(7) -> (6), if ((zs[7] →* ins(y[6], zs[6]))∧(y[7] →* x[6]))
(7) -> (7), if ((zs[7] →* ins(y[7]a, zs[7]a))∧(y[7] →* x[7]a))
min(x0, ins(x1, x2))
msort(e)
if_1(pair(x0, x1), x2, x3, x4)
Cond_if_1(TRUE, x0, x1, x2, x3, x4)
msort(ins(x0, x1))
if_3(pair(x0, x1), x2, x3)
min(x0, e)
Cond_if_2(TRUE, x0, x1, x2, x3, x4)
if_2(pair(x0, x1), x2, x3, x4)
↳ ITRS
↳ ITRStoIDPProof
↳ IDP
↳ UsableRulesProof
↳ IDP
↳ IDependencyGraphProof
↳ AND
↳ IDP
↳ UsableRulesProof
↳ IDP
z
min(x, ins(y, zs)) → if_1(min(y, zs), x, y, zs)
min(x, ins(y, zs)) → if_2(min(y, zs), x, y, zs)
if_1(pair(m, zh), x, y, zs) → Cond_if_1(>@z(m, x), m, zh, x, y, zs)
Cond_if_1(TRUE, m, zh, x, y, zs) → pair(x, ins(m, zh))
min(x, e) → pair(x, e)
Cond_if_2(TRUE, m, zh, x, y, zs) → pair(m, ins(x, zh))
if_2(pair(m, zh), x, y, zs) → Cond_if_2(>=@z(x, m), m, zh, x, y, zs)
(7) -> (7), if ((zs[7] →* ins(y[7]a, zs[7]a))∧(y[7] →* x[7]a))
min(x0, ins(x1, x2))
msort(e)
if_1(pair(x0, x1), x2, x3, x4)
Cond_if_1(TRUE, x0, x1, x2, x3, x4)
msort(ins(x0, x1))
if_3(pair(x0, x1), x2, x3)
min(x0, e)
Cond_if_2(TRUE, x0, x1, x2, x3, x4)
if_2(pair(x0, x1), x2, x3, x4)
↳ ITRS
↳ ITRStoIDPProof
↳ IDP
↳ UsableRulesProof
↳ IDP
↳ IDependencyGraphProof
↳ AND
↳ IDP
↳ UsableRulesProof
↳ IDP
↳ IDPNonInfProof
↳ IDP
(7) -> (7), if ((zs[7] →* ins(y[7]a, zs[7]a))∧(y[7] →* x[7]a))
min(x0, ins(x1, x2))
msort(e)
if_1(pair(x0, x1), x2, x3, x4)
Cond_if_1(TRUE, x0, x1, x2, x3, x4)
msort(ins(x0, x1))
if_3(pair(x0, x1), x2, x3)
min(x0, e)
Cond_if_2(TRUE, x0, x1, x2, x3, x4)
if_2(pair(x0, x1), x2, x3, x4)
(1) (y[7]=x[7]1∧zs[7]1=ins(y[7]2, zs[7]2)∧y[7]1=x[7]2∧zs[7]=ins(y[7]1, zs[7]1) ⇒ MIN(x[7]1, ins(y[7]1, zs[7]1))≥MIN(y[7]1, zs[7]1)∧(UIncreasing(MIN(y[7]1, zs[7]1)), ≥))
(2) (MIN(y[7], ins(y[7]1, ins(y[7]2, zs[7]2)))≥MIN(y[7]1, ins(y[7]2, zs[7]2))∧(UIncreasing(MIN(y[7]1, zs[7]1)), ≥))
(3) ((UIncreasing(MIN(y[7]1, zs[7]1)), ≥)∧0 ≥ 0)
(4) ((UIncreasing(MIN(y[7]1, zs[7]1)), ≥)∧0 ≥ 0)
(5) (0 ≥ 0∧(UIncreasing(MIN(y[7]1, zs[7]1)), ≥))
(6) (0 = 0∧0 = 0∧0 ≥ 0∧0 = 0∧(UIncreasing(MIN(y[7]1, zs[7]1)), ≥)∧0 = 0)
POL(MIN(x1, x2)) = -1 + x2
POL(ins(x1, x2)) = 1 + x2
POL(TRUE) = 0
POL(FALSE) = 0
POL(undefined) = 0
MIN(x[7], ins(y[7], zs[7])) → MIN(y[7], zs[7])
MIN(x[7], ins(y[7], zs[7])) → MIN(y[7], zs[7])
↳ ITRS
↳ ITRStoIDPProof
↳ IDP
↳ UsableRulesProof
↳ IDP
↳ IDependencyGraphProof
↳ AND
↳ IDP
↳ UsableRulesProof
↳ IDP
↳ IDPNonInfProof
↳ IDP
↳ IDependencyGraphProof
↳ IDP
min(x0, ins(x1, x2))
msort(e)
if_1(pair(x0, x1), x2, x3, x4)
Cond_if_1(TRUE, x0, x1, x2, x3, x4)
msort(ins(x0, x1))
if_3(pair(x0, x1), x2, x3)
min(x0, e)
Cond_if_2(TRUE, x0, x1, x2, x3, x4)
if_2(pair(x0, x1), x2, x3, x4)
↳ ITRS
↳ ITRStoIDPProof
↳ IDP
↳ UsableRulesProof
↳ IDP
↳ IDependencyGraphProof
↳ AND
↳ IDP
↳ IDP
↳ IDPNonInfProof
z
min(x, ins(y, zs)) → if_1(min(y, zs), x, y, zs)
min(x, ins(y, zs)) → if_2(min(y, zs), x, y, zs)
if_1(pair(m, zh), x, y, zs) → Cond_if_1(>@z(m, x), m, zh, x, y, zs)
Cond_if_1(TRUE, m, zh, x, y, zs) → pair(x, ins(m, zh))
min(x, e) → pair(x, e)
Cond_if_2(TRUE, m, zh, x, y, zs) → pair(m, ins(x, zh))
if_2(pair(m, zh), x, y, zs) → Cond_if_2(>=@z(x, m), m, zh, x, y, zs)
(2) -> (3), if ((x[2] →* x[3])∧(ys[2] →* ys[3])∧(min(x[2], ys[2]) →* pair(m[3], zs[3])))
(3) -> (2), if ((zs[3] →* ins(x[2], ys[2])))
min(x0, ins(x1, x2))
msort(e)
if_1(pair(x0, x1), x2, x3, x4)
Cond_if_1(TRUE, x0, x1, x2, x3, x4)
msort(ins(x0, x1))
if_3(pair(x0, x1), x2, x3)
min(x0, e)
Cond_if_2(TRUE, x0, x1, x2, x3, x4)
if_2(pair(x0, x1), x2, x3, x4)
(1) (min(x[2], ys[2])=pair(m[3]1, zs[3]1)∧zs[3]=ins(x[2], ys[2])∧x[2]=x[3]1∧ys[2]=ys[3]1 ⇒ MSORT(ins(x[2], ys[2]))≥IF_3(min(x[2], ys[2]), x[2], ys[2])∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥))
(2) (min(x[2], ys[2])=pair(m[3]1, zs[3]1) ⇒ MSORT(ins(x[2], ys[2]))≥IF_3(min(x[2], ys[2]), x[2], ys[2])∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥))
(3) (if_1(min(x1, x0), x2, x1, x0)=pair(m[3]1, zs[3]1)∧(∀x3,x4:min(x1, x0)=pair(x3, x4) ⇒ MSORT(ins(x1, x0))≥IF_3(min(x1, x0), x1, x0)∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)) ⇒ MSORT(ins(x2, ins(x1, x0)))≥IF_3(min(x2, ins(x1, x0)), x2, ins(x1, x0))∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥))
(4) (if_2(min(x8, x7), x9, x8, x7)=pair(m[3]1, zs[3]1)∧(∀x10,x11:min(x8, x7)=pair(x10, x11) ⇒ MSORT(ins(x8, x7))≥IF_3(min(x8, x7), x8, x7)∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)) ⇒ MSORT(ins(x9, ins(x8, x7)))≥IF_3(min(x9, ins(x8, x7)), x9, ins(x8, x7))∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥))
(5) (pair(x14, e)=pair(m[3]1, zs[3]1) ⇒ MSORT(ins(x14, e))≥IF_3(min(x14, e), x14, e)∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥))
(6) (min(x1, x0)=x15∧if_1(x15, x2, x1, x0)=pair(m[3]1, zs[3]1)∧(∀x3,x4:min(x1, x0)=pair(x3, x4) ⇒ MSORT(ins(x1, x0))≥IF_3(min(x1, x0), x1, x0)∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)) ⇒ MSORT(ins(x2, ins(x1, x0)))≥IF_3(min(x2, ins(x1, x0)), x2, ins(x1, x0))∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥))
(7) (min(x8, x7)=x16∧if_2(x16, x9, x8, x7)=pair(m[3]1, zs[3]1)∧(∀x10,x11:min(x8, x7)=pair(x10, x11) ⇒ MSORT(ins(x8, x7))≥IF_3(min(x8, x7), x8, x7)∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)) ⇒ MSORT(ins(x9, ins(x8, x7)))≥IF_3(min(x9, ins(x8, x7)), x9, ins(x8, x7))∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥))
(8) (MSORT(ins(x14, e))≥IF_3(min(x14, e), x14, e)∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥))
(9) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 ≥ 0)
(10) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 ≥ 0)
(11) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 ≥ 0)
(12) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 ≥ 0)
(13) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 ≥ 0)
(14) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 ≥ 0)
(15) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 ≥ 0)
(16) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 ≥ 0)
(17) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 ≥ 0)
(18) (0 ≥ 0∧(UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 = 0)
(19) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 ≥ 0∧0 = 0∧0 = 0∧0 = 0)
(20) ((UIncreasing(IF_3(min(x[2], ys[2]), x[2], ys[2])), ≥)∧0 = 0∧0 ≥ 0∧0 = 0∧0 = 0)
(21) (x[2]=x[3]∧min(x[2], ys[2])=pair(m[3], zs[3])∧ys[2]=ys[3]∧zs[3]=ins(x[2]1, ys[2]1) ⇒ IF_3(pair(m[3], zs[3]), x[3], ys[3])≥MSORT(zs[3])∧(UIncreasing(MSORT(zs[3])), ≥))
(22) (min(x[2], ys[2])=pair(m[3], ins(x[2]1, ys[2]1)) ⇒ IF_3(pair(m[3], ins(x[2]1, ys[2]1)), x[2], ys[2])≥MSORT(ins(x[2]1, ys[2]1))∧(UIncreasing(MSORT(zs[3])), ≥))
(23) (if_1(min(x18, x17), x19, x18, x17)=pair(m[3], ins(x[2]1, ys[2]1))∧(∀x20,x21,x22:min(x18, x17)=pair(x20, ins(x21, x22)) ⇒ IF_3(pair(x20, ins(x21, x22)), x18, x17)≥MSORT(ins(x21, x22))∧(UIncreasing(MSORT(zs[3])), ≥)) ⇒ IF_3(pair(m[3], ins(x[2]1, ys[2]1)), x19, ins(x18, x17))≥MSORT(ins(x[2]1, ys[2]1))∧(UIncreasing(MSORT(zs[3])), ≥))
(24) (if_2(min(x25, x24), x26, x25, x24)=pair(m[3], ins(x[2]1, ys[2]1))∧(∀x27,x28,x29:min(x25, x24)=pair(x27, ins(x28, x29)) ⇒ IF_3(pair(x27, ins(x28, x29)), x25, x24)≥MSORT(ins(x28, x29))∧(UIncreasing(MSORT(zs[3])), ≥)) ⇒ IF_3(pair(m[3], ins(x[2]1, ys[2]1)), x26, ins(x25, x24))≥MSORT(ins(x[2]1, ys[2]1))∧(UIncreasing(MSORT(zs[3])), ≥))
(25) (pair(x31, e)=pair(m[3], ins(x[2]1, ys[2]1)) ⇒ IF_3(pair(m[3], ins(x[2]1, ys[2]1)), x31, e)≥MSORT(ins(x[2]1, ys[2]1))∧(UIncreasing(MSORT(zs[3])), ≥))
(26) (min(x18, x17)=x32∧if_1(x32, x19, x18, x17)=pair(m[3], ins(x[2]1, ys[2]1))∧(∀x20,x21,x22:min(x18, x17)=pair(x20, ins(x21, x22)) ⇒ IF_3(pair(x20, ins(x21, x22)), x18, x17)≥MSORT(ins(x21, x22))∧(UIncreasing(MSORT(zs[3])), ≥)) ⇒ IF_3(pair(m[3], ins(x[2]1, ys[2]1)), x19, ins(x18, x17))≥MSORT(ins(x[2]1, ys[2]1))∧(UIncreasing(MSORT(zs[3])), ≥))
(27) (min(x25, x24)=x33∧if_2(x33, x26, x25, x24)=pair(m[3], ins(x[2]1, ys[2]1))∧(∀x27,x28,x29:min(x25, x24)=pair(x27, ins(x28, x29)) ⇒ IF_3(pair(x27, ins(x28, x29)), x25, x24)≥MSORT(ins(x28, x29))∧(UIncreasing(MSORT(zs[3])), ≥)) ⇒ IF_3(pair(m[3], ins(x[2]1, ys[2]1)), x26, ins(x25, x24))≥MSORT(ins(x[2]1, ys[2]1))∧(UIncreasing(MSORT(zs[3])), ≥))
(28) ((UIncreasing(MSORT(zs[3])), ≥)∧0 ≥ 0)
(29) ((UIncreasing(MSORT(zs[3])), ≥)∧0 ≥ 0)
(30) ((UIncreasing(MSORT(zs[3])), ≥)∧0 ≥ 0)
(31) ((UIncreasing(MSORT(zs[3])), ≥)∧0 ≥ 0)
(32) ((UIncreasing(MSORT(zs[3])), ≥)∧0 ≥ 0)
(33) ((UIncreasing(MSORT(zs[3])), ≥)∧0 ≥ 0)
(34) (0 = 0∧(UIncreasing(MSORT(zs[3])), ≥)∧0 = 0∧0 ≥ 0∧0 = 0∧0 = 0∧0 = 0∧0 = 0)
(35) (0 = 0∧(UIncreasing(MSORT(zs[3])), ≥)∧0 = 0∧0 = 0∧0 = 0∧0 = 0∧0 = 0∧0 ≥ 0)
POL(ins(x1, x2)) = 1 + x2
POL(e) = 0
POL(TRUE) = 0
POL(Cond_if_2(x1, x2, x3, x4, x5, x6)) = 2 + x3
POL(IF_3(x1, x2, x3)) = 2 + x1
POL(MSORT(x1)) = 2 + x1
POL(if_1(x1, x2, x3, x4)) = 1 + x1
POL(FALSE) = 0
POL(if_2(x1, x2, x3, x4)) = 1 + x1
POL(>@z(x1, x2)) = 0
POL(Cond_if_1(x1, x2, x3, x4, x5, x6)) = 2 + x3
POL(>=@z(x1, x2)) = 0
POL(pair(x1, x2)) = 1 + x2
POL(min(x1, x2)) = 1 + x2
POL(undefined) = 0
IF_3(pair(m[3], zs[3]), x[3], ys[3]) → MSORT(zs[3])
MSORT(ins(x[2], ys[2])) → IF_3(min(x[2], ys[2]), x[2], ys[2])
IF_3(pair(m[3], zs[3]), x[3], ys[3]) → MSORT(zs[3])
MSORT(ins(x[2], ys[2])) → IF_3(min(x[2], ys[2]), x[2], ys[2])
min(x, ins(y, zs))1 ↔ if_1(min(y, zs), x, y, zs)1
min(x, ins(y, zs))1 ↔ if_2(min(y, zs), x, y, zs)1
if_1(pair(m, zh), x, y, zs)1 ↔ Cond_if_1(>@z(m, x), m, zh, x, y, zs)1
Cond_if_1(TRUE, m, zh, x, y, zs)1 ↔ pair(x, ins(m, zh))1
min(x, e)1 ↔ pair(x, e)1
Cond_if_2(TRUE, m, zh, x, y, zs)1 ↔ pair(m, ins(x, zh))1
if_2(pair(m, zh), x, y, zs)1 ↔ Cond_if_2(>=@z(x, m), m, zh, x, y, zs)1
↳ ITRS
↳ ITRStoIDPProof
↳ IDP
↳ UsableRulesProof
↳ IDP
↳ IDependencyGraphProof
↳ AND
↳ IDP
↳ IDP
↳ IDPNonInfProof
↳ AND
↳ IDP
↳ IDependencyGraphProof
↳ IDP
z
min(x, ins(y, zs)) → if_1(min(y, zs), x, y, zs)
min(x, ins(y, zs)) → if_2(min(y, zs), x, y, zs)
if_1(pair(m, zh), x, y, zs) → Cond_if_1(>@z(m, x), m, zh, x, y, zs)
Cond_if_1(TRUE, m, zh, x, y, zs) → pair(x, ins(m, zh))
min(x, e) → pair(x, e)
Cond_if_2(TRUE, m, zh, x, y, zs) → pair(m, ins(x, zh))
if_2(pair(m, zh), x, y, zs) → Cond_if_2(>=@z(x, m), m, zh, x, y, zs)
min(x0, ins(x1, x2))
msort(e)
if_1(pair(x0, x1), x2, x3, x4)
Cond_if_1(TRUE, x0, x1, x2, x3, x4)
msort(ins(x0, x1))
if_3(pair(x0, x1), x2, x3)
min(x0, e)
Cond_if_2(TRUE, x0, x1, x2, x3, x4)
if_2(pair(x0, x1), x2, x3, x4)
↳ ITRS
↳ ITRStoIDPProof
↳ IDP
↳ UsableRulesProof
↳ IDP
↳ IDependencyGraphProof
↳ AND
↳ IDP
↳ IDP
↳ IDPNonInfProof
↳ AND
↳ IDP
↳ IDP
↳ IDependencyGraphProof
z
min(x, ins(y, zs)) → if_1(min(y, zs), x, y, zs)
min(x, ins(y, zs)) → if_2(min(y, zs), x, y, zs)
if_1(pair(m, zh), x, y, zs) → Cond_if_1(>@z(m, x), m, zh, x, y, zs)
Cond_if_1(TRUE, m, zh, x, y, zs) → pair(x, ins(m, zh))
min(x, e) → pair(x, e)
Cond_if_2(TRUE, m, zh, x, y, zs) → pair(m, ins(x, zh))
if_2(pair(m, zh), x, y, zs) → Cond_if_2(>=@z(x, m), m, zh, x, y, zs)
min(x0, ins(x1, x2))
msort(e)
if_1(pair(x0, x1), x2, x3, x4)
Cond_if_1(TRUE, x0, x1, x2, x3, x4)
msort(ins(x0, x1))
if_3(pair(x0, x1), x2, x3)
min(x0, e)
Cond_if_2(TRUE, x0, x1, x2, x3, x4)
if_2(pair(x0, x1), x2, x3, x4)